@charset "utf-8";

.JHslide {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-user-select: none;
    overflow: hidden;
    ul,
    li,
    img {
        width: 100%;
        height: 100%;
    }
    ul {
        white-space: nowrap;
        font-size: 0;
        transform: translateX(-100%);
        transition: all .6s cubic-bezier(.57, .16, .44, 1.29);
        li {
            display: inline-block;
            img {
                pointer-events: none;
            }
        }
    }
    &.SX {
        ul {
            white-space: normal;
            transform: translateY(-100%);
            li {
                display: block;
            }
        }
    }
    .moveBut {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1;
        pointer-events: none;
        transition: opacity .3s cubic-bezier(.34, .53, .51, .63);
        span {
            pointer-events: auto;
            position: absolute;
            font-size: 33px;
            font-weight: 600;
            text-align: center;
            background: rgba(0, 0, 0, .2);
            color: rgba(255, 255, 255, .6);
            cursor: pointer;
            display: none;
            transition-property: background-color, color;
            transition-duration: .3s;
            transition-timing-function: cubic-bezier(.34, .53, .51, .63);
            &:hover {
                color: rgba(255, 255, 255, 1);
                background: rgba(0, 0, 0, .4);
            }
        }
        &.ZY {
            span {
                margin: 0 15px;
                line-height: 67px;
                height: 65px;
                width: 50px;
                top: 50%;
                transform: translateY(-50%);
                &:nth-of-type(2) {
                    right: 0;
                }
            }
        }
        &.SX {
            span {
                top: 0;
                margin: 12px 0;
                line-height: 35px;
                height: 35px;
                width: 75px;
                left: 50%;
                transform: translateX(-50%);
                &:nth-of-type(2) {
                    top: auto;
                    bottom: 0;
                }
            }
        }
    }
    .focus {
        position: absolute;
        font-size: 0;
        display: none;
        transition: opacity .3s cubic-bezier(.34, .53, .51, .63);
        .svg_wrap {
            width: 13px;
            height: 13px;
            font-size: 0;
            cursor: pointer;
            transform: rotateZ(-90deg);
            .svgfocus {
                stroke-dasharray: 0 282;
            }
        }
        &.bott {
            left: 50%;
            bottom: 20px;
            transform: translateX(-50%);
            .svg_wrap {
                margin: 0 5px;
                display: inline-block;
            }
        }
        &.rig {
            right: 23px;
            top: 50%;
            transform: translateY(-50%);
            .svg_wrap {
                margin: 5px 0;
            }
        }
    }
    &.hideBut {
        .focus,
        .moveBut {
            opacity: 0;
        }
    }
}